home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 21
/
Aminet 21 (1997)(GTI - Schatztruhe)[!][Oct 1997].iso
/
Aminet
/
disk
/
bakup
/
SortCopy.readme
< prev
Wrap
Text File
|
1997-09-05
|
6KB
|
150 lines
Short: Tiny directory/link copy program
Author: thor@einstein.math.tu-berlin.de
Uploader: thor@einstein.math.tu-berlin.de
Type: disk/bakup
_____________________________________________________________________________
The THOR-Software Licence
This License applies to the computer programs known as "SortCopy".
The "Program", below, refers to such program.
The programs and files in this distribution are freely distributable
under the restrictions stated below, but are also Copyright (c)
Thomas Richter.
Distribution of the Program by a commercial organization without written
permission from the author to any third party is prohibited if any payment
is made in connection with such distribution, whether directly
(as in payment for a copy of the Program) or indirectly (as in payment
for some service related to the Program, or payment for some product
or service that includes a copy of the Program "without charge";
these are only examples, and not an exhaustive enumeration of prohibited
activities). However, the following methods of distribution involving
payment shall not in and of themselves be a violation of this restriction:
(i) Posting the Program on a public access information storage and
retrieval service for which a fee is received for retrieving information
(such as an on-line service), provided that the fee is not
content-dependent (i.e., the fee would be the same for retrieving the same
volume of information consisting of random data).
(ii) Distributing the Program on a CD-ROM, provided that the files
containing the Program are reproduced entirely and verbatim on such
CD-ROM, and provided further that all information on such CD-ROM be
redistributable for non-commercial purposes without charge.
Everything in this distribution must be kept together, in original
and unmodified form.
Limitations.
THE PROGRAM IS PROVIDED TO YOU "AS IS," WITHOUT WARRANTY. THERE IS NO
WARRANTY FOR THE PROGRAM, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. THE ENTIRE
RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD
THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY
SERVICING, REPAIR OR CORRECTION.
IF YOU DO NOT ACCEPT THIS LICENCE, YOU MUST DELETE ALL FILES CONTAINED IN
THIS ARCHIVE.
_____________________________________________________________________________
Purpose of this program:
Copy one or multiple directories. This is absolutely nothing new, but unlike
other copy tools, this one tries to copy links as well. If the link source
and the link destination is copied, "SortCopy" will erase the link
destination and re-create the link to the copy of the link source. This
works for both, SoftLinks and HardLinks, as well as links to directories
as long as the directory and the link to the directory is copied.
As a tiny extra, it keeps the destination directories alphabetically sorted.
You may also choose to copy only files with the "a" (archive bit) reset, or
set the "a" bit of files copied.
All this makes "SortCopy" useful for a very simple backup procedure, as it
re-creates a one to one image of the directory you want to copy. The
same program can be used to restore the copy.
Synopsis:
SortCopy FROM/A,TO/A,QUIET/S,QUIETER/S,SETARCHIVE/S,NONAONLY/S,
OVERWRITE/S,LEAVEEMPTY/S,DELETECOPIED/S,FORCE/S
FROM: Source directory or source directories.
Wildcards are allowed here.
TO: Destination of the copy operation. No wildcards allowed.
QUIET: Suppresses printing the file names being copied.
QUIETER: Suppresses all messages except errors and warnings.
SETARCHIVE: Set the archive bit after copying.
NONAONLY: Copies only files with the A bit cleared, i.e. non-
archived files. All directories are copied unless they
contain only archived files and directories.
OVERWRITE: Overwrite destination files, even though they are
write protected.
LEAVEEMPTY: Don't delete empty directories in the destination,
unlike what is usually done if no file worth copying
is in this directory (i.e. no file with a reset a-bit).
DELETECOPIED: Delete the source files after copying. This delete operation
is cancelled if some error or warning occurred during the
copy operation before.
FORCE: Delete also files that are protected from deletion.
UPDATE: Somewhat similar to NONAONLY, this option attempts to copy
only those files to the destination that are not up to date.
Source and destination files are, however, not compared byte
by byte. Instead, the file size and the creation date are
compared - if they are the same, source and destination
files are considered to be identical and the source is not
copied.
_____________________________________________________________________________
Changes made since 1.05:
Added the UPDATE command line option. See above for details.
_____________________________________________________________________________
Changes made since 1.06:
SortCopy will now create a destination directory if it isn't
already present.
The archive bit messages are now a bit shorter.
_____________________________________________________________________________
Thomas, August 1997
============================= Archive contents =============================
Original Packed Ratio Date Time Name
-------- ------- ----- --------- -------- -------------
9692 4792 50.5% 21-Aug-97 19:56:00 SortCopy
5318 2349 55.8% 21-Aug-97 19:55:50 SortCopy.readme
-------- ------- ----- --------- --------
15010 7141 52.4% 24-Aug-97 23:43:34 2 files